package com.intellagric.mapper;

import com.intellagric.pojo.TraceField;
import com.intellagric.pojo.TraceFieldExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceFieldMapper {
    long countByExample(TraceFieldExample example);

    int deleteByExample(TraceFieldExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceField record);

    int insertSelective(TraceField record);

    List<TraceField> selectByExample(TraceFieldExample example);

    TraceField selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceField record, @Param("example") TraceFieldExample example);

    int updateByExample(@Param("record") TraceField record, @Param("example") TraceFieldExample example);

    int updateByPrimaryKeySelective(TraceField record);

    int updateByPrimaryKey(TraceField record);
}